package com.demo.demo.exception;

/**
 * 
 * <p>classname:AbstractApiException</p>
 * <p>Description:</p>
 * <p>Company:斯润天朗</p>
 * @author guogw
 * @version V2.0
 * @date 2018年1月3日 下午6:06:37
 */

public abstract class AbstractApiException extends RuntimeException {
	
	static final long serialVersionUID = 9046044233096467143L;
	
	private String code;
	private String message;
	public AbstractApiException(String errorCode, String message) {
		super();
		this.code = errorCode;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}
	
	public void setMessage(String message) {
		this.message = message;
	}
	
}
